package com.mogist.hqc.entitys.response;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;

/**
 * 作用：线路详情产品
 * 作者：赵小白 email:vvtale@gmail.com  
 * 修改人：
 * 修改时间：
 * 修改备注：
 */
public class RouteDetailItemVo implements Serializable, MultiItemEntity
{
	// 0:日期  1:地点  2:距离

	public RouteDetailItemVo(int itemType, String content ,int pos)
	{
		this.itemType = itemType;
		this.content = content;
		this.pos = pos;
	}

	public RouteDetailItemVo(TypeDetailVo.RouteInfoListEntity data,int pos)
	{
		this.itemType = 1;
		this.data = data;
		this.pos = pos;
	}

	private int itemType;
	private int pos;
	private String content;
	private TypeDetailVo.RouteInfoListEntity data;

	public String getContent()
	{
		return content;
	}

	public void setContent(String content)
	{
		this.content = content;
	}

	public TypeDetailVo.RouteInfoListEntity getData()
	{
		return data;
	}

	public void setData(TypeDetailVo.RouteInfoListEntity data)
	{
		this.data = data;
	}

	public void setItemType(int itemType)
	{
		this.itemType = itemType;
	}

	@Override public int getItemType()
	{
		return itemType;
	}

	public int getPos()
	{
		return pos;
	}

	public void setPos(int pos)
	{
		this.pos = pos;
	}
}
